import java.util.*;

/**
 * This class holds the information for a Month related to
 * Appointments
 * 
 * @author Matthew Edwards 
 * @version 3-5-11
 */
public class AppointmentMonth {
    
  private ArrayList<AppointmentDay> days = new ArrayList<AppointmentDay>();
    
    public AppointmentMonth(ArrayList<AppointmentDay> days){
        
        this.days = days;
        
    }
    
    /**Adds a daysto the database
     * 
     * @param input
     *     The day to be input
     * @param day
     *     The number of the days to be put in
     */
    public void add(AppointmentDay input, int day)
    {
        days.add(day, input);
    }
    
    /**Deletes a day at it's value
     * 
     * @param value
     *    The value that determines which day is deleted
     */
    public void delete(int value)
    {
        days.remove(value);
    }
    
    /**Gets the days inside the calendar
     * 
     * @return
     *    the months in the calendar
     */
    public ArrayList<AppointmentDay> getDays()
    {
        return days;
        
    }
    
    
}